{% extends "data_list.html" %}
{% load i18n %}

{% block getdatalist %}
    {% if request.user|HasPerm:"iclock.browse_operatecmd" %}
		$("#id_model_extend .leftBoxTop").remove();
        $("#id_datalist").model_grid({
            "model_url": "{{ model_url }}",
            "disabled_actions": ["_change","_add"],
            "row_operations": [],
            "multiple_select":null
        });
    {% else %}<!--browse_devcmd-->
        alert(gettext("对不起，您没有访问该页面的权限，不能浏览更多信息！"));
        window.location.href = "/{{ request.surl }}accounts/login/";
    {% endif %}<!--browse_devcmd-->
{% endblock %}
{% block export %}
{% endblock %}
